﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace CRM.Api.Models.AXB
{
    /// <summary>
    /// 同步通话记录
    /// </summary>
    public class SyncTelModel
    {
        /// <summary>
        /// 业务 id
        /// </summary>
        public string requestId { set; get; }

        /// <summary>
        /// 真实号码
        /// </summary>
        public string telA { set; get; }

        /// <summary>
        /// 小号号码
        /// </summary>
        public string telX { set; get; }

        /// <summary>
        /// 对端号码
        /// </summary>
        public string telB { set; get; }

        /// <summary>
        /// 原始被叫
        /// </summary>
        public string telC { set; get; }

        /// <summary>
        /// 绑定 id
        /// </summary>
        public string subid { set; get; }

        /// <summary>
        /// 呼叫类型
        /// </summary>
        public string calltype { set; get; }

        /// <summary>
        /// 发起呼叫时间
        /// </summary>
        public string calltime { set; get; }

        /// <summary>
        /// 振铃开始时间
        /// </summary>
        public string ringingtime { set; get; }

        /// <summary>
        /// 通话开始时间
        /// </summary>
        public string starttime { set; get; }
        
        /// <summary>
        /// 通话结束时间
        /// </summary>
        public string releasetime { set; get; }

        /// <summary>
        /// 通话标识
        /// </summary>
        public string callid { set; get; }

        /// <summary>
        /// 释放方向
        /// </summary>
        public string releasedir { set; get; }

        /// <summary>
        /// 释放原因
        /// </summary>
        public string releasecause { set; get; }

        /// <summary>
        /// 录音地址
        /// </summary>
        public string recordUrl { set; get; }

        /// <summary>
        /// 录音模式
        /// </summary>
        public string recordMode { set; get; }

        /// <summary>
        /// 呼转号码
        /// </summary>
        public string telredir { set; get; }

        /// <summary>
        /// 呼转原因
        /// </summary>
        public string redirreason { set; get; }

        /// <summary>
        /// 被叫来显号码
        /// </summary>
        public string calldisplay { set; get; }
    }
}